import Base from './base'

const api = new Base()

// 修改个人信息
export const addCart = (params) => api.post('/goodsCart', params)
export const delCart = (id) => api.delete(`/goodsCart/${id}`)
export const getCartById = (id) => api.get(`/goodsCart/${id}`)
export const getCartList = () => api.get(`/goodsCart/list`)
